package com.example.app2024.phonenum;

public class PhoneInfo
{
      private String name;
      private String number;

      public String getName()
      {
            return name;
      }

      public void setName(String name)
      {
            this.name = name;
      }

      public String getNumber()
      {
            return number;
      }

      public void setNumber(String number)
      {
            this.number = number;
      }

      public PhoneInfo(String name, String number)
      {
            setNumber(number);
            setName(name);
      }




}
